@layout("/common/_container.html",{js:["/assets/afterIndentCommit/afterIndent.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">填写售后信息</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">


            <form id="indentOrderForm" lay-filter="indentOrderForm" class="layui-form  layui-form-pane"
                  action="">
                <input name="id" type="hidden" value="${indentOrderId}" id="id"/>
                <input name="type" type="hidden" value="${type}" id="type"/>
                <fieldset class="layui-elem-field">
                    <legend></legend>
                    <div class="layui-field-box">

                        <fieldset class="layui-elem-field layui-field-title">
                            <legend>填写售后信息</legend>
                            <div class="layui-field-box">


                                <div class="layui-form-item pane">
                                    <label class="layui-form-label">申请人<span
                                            style="color: red;">*</span></label>
                                    <div class="layui-input-block">
                                        <input id="poAgent" name="poAgent" placeholder="请输入经办人" type="text"
                                               class="layui-input"
                                               lay-verify="required" required readonly value="${username}"/>
                                    </div>
                                </div>

                                <div class="layui-form-item pane">
                                    <label class="layui-form-label">申请人部门<span
                                            style="color: red;">*</span></label>
                                    <div class="layui-input-block">
                                        <input id="poAgentDept" name="poAgentDept" placeholder="请输入经办人部门"
                                               type="text"
                                               class="layui-input"
                                               lay-verify="required" required readonly value="${deptName}"/>
                                    </div>
                                </div>
                            </div>
                        </fieldset>

                        <fieldset class="layui-elem-field layui-field-title">
                            <legend>选择采购产品</legend>
                            <div class="layui-field-box">
                                <div class="layui-row">
                                    <div class="layui-col-md12">
                                        <table id="purchaseDetail" lay-filter="productTable"
                                               class="layui-table"></table>
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                <div class="layui-form-item text-right">
                    <button class="layui-btn layui-btn-primary" type="button" id="backPage">取消</button>
                    <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
                </div>
            </form>
        </div>
    </div>
</div>


<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-xs" lay-event="remark">售后原因</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" id="SP" type="button"
                lay-event="add">
            <i class="layui-icon">&#xe608;</i> 添加
        </button>
    </div>
</script>
@}